{{extend './base.html'}}
{{block 'title'}}登录{{/block}}
{{block 'main'}}

<h1>login</h1>
<form action="/login" method="POST" role="form">
    用户名：<input type="text" name="name"><br>
    密 码：<input type="password" name="password"><br>
    <input type="submit" value="登录">
</form>

{{/block}}